package com.lanxin.bx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lanxin.bx.entity.BxInformal;
import com.lanxin.bx.vo.AllinformalVo;
import com.lanxin.bx.vo.BxinformaldataVo;
import com.lanxin.bx.vo.jobvo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 
 * @since 2025-07-18
 */
public interface BxInformalMapper extends BaseMapper<BxInformal> {

    List<AllinformalVo> selectbxinformalList(
            @Param("docNo") String docNo,
            @Param("empName") String empName,
            @Param("submitDate") String submitDate,
            @Param("status") String status
    );

    List<AllinformalVo> selectmybxinformalList(
            @Param("docNo") String docNo,
            @Param("submitDate") String submitDate,
            @Param("status") String status,
            @Param("proposer") Integer proposer

    );

    List<jobvo> selectbxinformalJobList(@Param("deptid")String deptid);
    List<BxinformaldataVo> selectbxinformalDataListbytype(@Param("startDate")String startDate,@Param("endDate")String endDate);
    List<BxinformaldataVo> selectbxinformalDataListbydept(@Param("startDate")String startDate,@Param("endDate")String endDate);

    //修改报销申请的审批状态
    public int updateBxStatus(Map<String,Object> map);
}
